package com.enjoyor.health.HGPT.core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.enjoyor.health.HGPT.core.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
public interface INewsService extends IService<News> {

    List<News> getNewsList();

    int updateNewsLike(String newsId);

    Page<News> getNewsPage(String type, String status, String title, int page, int size);

}
